package demo2;

public class Card {
    private int number;
    private String cardColor;

    public Card(int number, String cardColor) {
        this.number = number;
        this.cardColor = cardColor;
    }

    @Override
    public String toString() {
        return "Card{" +
                cardColor + '\'' +
                number +
                '}';
    }
}
